package com.qiaodata.datatrans.transfor;

import com.qiaodata.datatrans.entity.QuanZhiResumer;
import com.qiaodata.datatrans.repository.ResumerRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by Administrator on 2016/11/28 0028.
 */
@Service
public class Get500WData {

    @Autowired
    private ResumerRepository resumerRepository;

    public void getData(String id) {
        QuanZhiResumer quanZhiResumer = this.resumerRepository.findOne(id);

        System.out.println(quanZhiResumer.toString());


    }

    public static void main(String[] args) {

        String id = "583bc55f7f8b9ae6658b456d";
        Get500WData get500WData = new Get500WData();
        get500WData.getData(id);

    }

}
